//index.js
const app = getApp()
const db = wx.cloud.database()
let that
Page({
  data: {

  },
  onLoad(){
    wx.switchTab({
      url: '../find/index',
    })
  },
  login() {
    wx.navigateTo({
      url: '../login/login',
      success: function(res) {},
      fail: function(res) {},
      complete: function(res) {},
    })
  },
  info() {
    wx.navigateTo({
      url: '../info/index',
      success: function(res) {},
      fail: function(res) {},
      complete: function(res) {},
    })
  },
  xz() {
    wx.navigateTo({
      url: '../character_list/index',
      success: function (res) { },
      fail: function (res) { },
      complete: function (res) { },
    })
  }
})